package com.qiaofang.applet.service.property.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qiaofang.applet.common.base.BaseDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Document(collection = "property_property_vr")
@Data
public class PropertyVr extends BaseDomain {

    @ApiModelProperty("VRID")
    private Long vrId;

    private String vrUuid;

    @ApiModelProperty("房源UUID")
    private String propertyUuid;

    @ApiModelProperty("跳转地址")
    private String roamview;

    @ApiModelProperty("显示图片")
    private String preview;

    @ApiModelProperty("关联更新 true:已更新关联数据 false:未更新关联数据")
    private Boolean relationUpdate;

    @ApiModelProperty("是否删除")
    private Boolean deleted;

    @ApiModelProperty("最后解析日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date lastSyncDate;
}
